<?php
#login page local datas.
#Your or UI-designer could modify some data on here.
#Dec 20,2010
#
$jqtouch_url = ""; //start from current directory.
$data = array();
$payment_page['lang']          = 'zh-hant-hk';
$payment_page['method']        = 'POST';
$payment_page['title']         = 'tvb.com信用卡付款';
$payment_page['payment_title'] = '4.信用卡付款';
$payment_page['payment_info']  = array(
                                        'payment_note'=>'信用卡類型',
                                        'card_owner'=>'持卡人姓名',
                                        'card_num'=>'信用卡號碼',
                                        'card_cvv'=>'CVV/CVC',
                                        'expiry_date'=>'有效日期',
                                        'agreement'=>'協議條款',
                                        'agree_c'=>'本人已閱並同意遵守',
                                        'captcha'=>'驗證碼',
                                        'p_expiry_y'=>'年',
                                        'p_expiry_m'=>'月',
                                        'captcha_note'=>'請輸入以下所顯示的字符',
                                        'card_cvv_note'=>'請輸入信用卡背面、位於簽名欄之最後三個數字',
                                );
$payment_page['agree_ment_url']= '#';
$payment_page['ajax_url']      = 'api/m_ajax.php';
$payment_page['hiddens']       = array(
                                        'submit_btn'=>1,
                                        'login_id'=>'totoros',
                                        'oauth_token'=>'adsfafafasdfasdfasfasf',
                                        'pkgInfo_id'=>'123',
                                        'pkgInfo_version'=>'1.0',
                                        'item'=>'orderRef',
                                        'p_lang'=>'zh-hant-hk',
                                        'pukey'=>'dsafsdfa',
                                        'is_post_form'=>1,
                                );

$payment_page['msgbox_url']   = 'message.html';
$payment_page['restart_url']  = 'message.html';
$payment_page['success_url']  = NULL;
$payment_page['action']       = 'http://test.asiapay.com';
$hidden['merchantId']         = isset($paymentUrls['merchantId']) ? $paymentUrls['merchantId'] : '';
$hidden['amount']             = isset($pkgInfo['price']) ? $pkgInfo['price'] : 0;
$hidden['orderRef']           = '';
$hidden['currCode']           = isset($currCode) ? $currCode : '';
$hidden['pMethod']            = '';
$hidden['cardNo']             = '';
$hidden['securityCode']       = '';
$hidden['cardHolder']         = '';
$hidden['epMonth']            = '';
$hidden['epYear']             = '';
$hidden['payType']            = 'N';
$hidden['successUrl']         = isset($paymentUrls['successUrl']) ? $paymentUrls['successUrl'] : 'message.html?act=success';
$hidden['failUrl']            = isset($paymentUrls['failUrl'])    ? $paymentUrls['failUrl']    : 'message.html?act=failure';
$hidden['errorUrl']           = isset($paymentUrls['errorUrl'])   ? $paymentUrls['errorUrl']   : '';
$hidden['lang']               = isset($fLang) ? $fLang : 'tw';
$hidden['remark']             = isset($remark) ? $remark : 'remark';
$payment_page['hidden']       = $hidden;
$payment_page['button']       = array(
                                        'cancel'    =>  array('value'=>'取消','link'=>'index.html',),
                                        'previous'  =>  array('value'=>'上一步','link'=>'plan_confirm.html',),
                                        'submit'    =>  array('value'=>'確定','link'=>NULL),
                                );
$payment_page['a_step']       = 'four';
$microtime                    = 0.12345;
$payment_page['local_from'] = true;
$data['payment'] = $payment_page;


?>
